#!/bin/sh 
time=$(date "+%Y%m%d%H%M%S")
npm install --registry=https://registry.npm.taobao.org
npm run build
docker build -t 8.136.189.44:8082/cicd-frontend:$time .
docker login -u $DOCKER_LOGIN_USERNAME -p $DOCKER_LOGIN_PASSWORD  8.136.189.44:8082
docker push 8.136.189.44:8082/cicd-frontend:$time
